﻿using MongoDB.Attributes;
using System;

namespace Resn.WhuPub.DML
{
        /// <summary>
        /// 样书寄送数据模型
        /// </summary>

        public class BookFlowModel:IIdentity
        {
                /// <summary>
                /// 获取或设置标识
                /// </summary>
                /// <value>
                /// 标识
                /// </value>
                [MongoId]
                public String Id { get; set; }

                /// <summary>
                /// 获取或设置流程状态
                /// </summary>
                /// <value>
                /// 流程状态
                /// </value>
                public string State { get; set; }

                /// <summary>
                /// 获取联系人标识
                /// </summary>
                /// <value>
                /// 联系人标识
                /// </value>
                public String ContactId { get; set; }

                /// <summary>
                /// 获取或设置书籍标识
                /// </summary>
                /// <value>
                /// 书籍标识
                /// </value>
                public String BookId { get; set; }

                /// <summary>
                /// 获取或设置样书数量
                /// </summary>
                /// <value>
                /// 样书数量
                /// </value>
                public int Count { get; set; }

                /// <summary>
                /// 获取或设置寄送单号
                /// </summary>
                /// <value>
                /// 寄送单号
                /// </value>
                public String DeliveryNumber { get; set; }

                /// <summary>
                /// 获取或设置寄送时间
                /// </summary>
                /// <value>
                /// 寄送时间
                /// </value>
                public DateTime DeliveryTime { get; set; }
        }
}